<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>邦尼德（上海）网络科技有限公司</title>
</head>
<body style="text-align: center;">
<!--<h3>请在手机用微信支付！</h3>-->
<script>
    function onBridgeReady(){
        var data = {$data3};
        WeixinJSBridge.invoke(
            'getBrandWCPayRequest', data,
            function(res){
                if(res.err_msg == "get_brand_wcpay_request:ok" ){
                    // 使用以上方式判断前端返回,微信团队郑重提示：
                    //res.err_msg将在用户支付成功后返回ok，但并不保证它绝对可靠。
                    window.location.href='http://vip.bndvip.com/html/orderManagement.html';
                } else {
                    window.location.href='http://vip.bndvip.com/html/orderManagement.html';
                }
            });
    }
    if (typeof WeixinJSBridge == "undefined"){
        if( document.addEventListener ){
            document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
        }else if (document.attachEvent){
            document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
            document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
        }
    }else{
        onBridgeReady();
    }

</script>
</body>
</html>